Optimal. Leaf size=109 \[ -\frac {2 a^2 A}{3 x^{3/2}}+\frac {2}{3} x^{3/2} \left (2 a B c+2 A b c+b^2 B\right )+2 \sqrt {x} \left (A \left (2 a c+b^2\right )+2 a b B\right )-\frac {2 a (a B+2 A b)}{\sqrt {x}}+\frac {2}{5} c x^{5/2} (A c+2 b B)+\frac {2}{7} B c^2 x^{7/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {765} \[ -\frac {2 a^2 A}{3 x^{3/2}}+\frac {2}{3} x^{3/2} \left (2 a B c+2 A b c+b^2 B\right )+2 \sqrt {x} \left (A \left (2 a c+b^2\right )+2 a b B\right )-\frac {2 a (a B+2 A b)}{\sqrt {x}}+\frac {2}{5} c x^{5/2} (A c+2 b B)+\frac {2}{7} B c^2 x^{7/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 765
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (a+b x+c x^2\right )^2}{x^{5/2}} \, dx &=\int \left (\frac {a^2 A}{x^{5/2}}+\frac {a (2 A b+a B)}{x^{3/2}}+\frac {2 a b B+A \left (b^2+2 a c\right )}{\sqrt {x}}+\left (b^2 B+2 A b c+2 a B c\right ) \sqrt {x}+c (2 b B+A c) x^{3/2}+B c^2 x^{5/2}\right ) \, dx\\ &=-\frac {2 a^2 A}{3 x^{3/2}}-\frac {2 a (2 A b+a B)}{\sqrt {x}}+2 \left (2 a b B+A \left (b^2+2 a c\right )\right ) \sqrt {x}+\frac {2}{3} \left (b^2 B+2 A b c+2 a B c\right ) x^{3/2}+\frac {2}{5} c (2 b B+A c) x^{5/2}+\frac {2}{7} B c^2 x^{7/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.12, size = 94, normalized size = 0.86 \[ \frac {2 \left (-35 a^2 (A+3 B x)+70 a x (B x (3 b+c x)-3 A (b-c x))+x^2 \left (7 A \left (15 b^2+10 b c x+3 c^2 x^2\right )+B x \left (35 b^2+42 b c x+15 c^2 x^2\right )\right )\right )}{105 x^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 93, normalized size = 0.85 \[ \frac {2 \, {\left (15 \, B c^{2} x^{5} + 21 \, {\left (2 \, B b c + A c^{2}\right )} x^{4} + 35 \, {\left (B b^{2} + 2 \, {\left (B a + A b\right )} c\right )} x^{3} - 35 \, A a^{2} + 105 \, {\left (2 \, B a b + A b^{2} + 2 \, A a c\right )} x^{2} - 105 \, {\left (B a^{2} + 2 \, A a b\right )} x\right )}}{105 \, x^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 101, normalized size = 0.93 \[ \frac {2}{7} \, B c^{2} x^{\frac {7}{2}} + \frac {4}{5} \, B b c x^{\frac {5}{2}} + \frac {2}{5} \, A c^{2} x^{\frac {5}{2}} + \frac {2}{3} \, B b^{2} x^{\frac {3}{2}} + \frac {4}{3} \, B a c x^{\frac {3}{2}} + \frac {4}{3} \, A b c x^{\frac {3}{2}} + 4 \, B a b \sqrt {x} + 2 \, A b^{2} \sqrt {x} + 4 \, A a c \sqrt {x} - \frac {2 \, {\left (3 \, B a^{2} x + 6 \, A a b x + A a^{2}\right )}}{3 \, x^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 102, normalized size = 0.94 \[ -\frac {2 \left (-15 B \,c^{2} x^{5}-21 A \,c^{2} x^{4}-42 x^{4} b B c -70 x^{3} A b c -70 B a c \,x^{3}-35 B \,b^{2} x^{3}-210 A a c \,x^{2}-105 A \,b^{2} x^{2}-210 B a b \,x^{2}+210 A a b x +105 B \,a^{2} x +35 A \,a^{2}\right )}{105 x^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.57, size = 93, normalized size = 0.85 \[ \frac {2}{7} \, B c^{2} x^{\frac {7}{2}} + \frac {2}{5} \, {\left (2 \, B b c + A c^{2}\right )} x^{\frac {5}{2}} + \frac {2}{3} \, {\left (B b^{2} + 2 \, {\left (B a + A b\right )} c\right )} x^{\frac {3}{2}} + 2 \, {\left (2 \, B a b + A b^{2} + 2 \, A a c\right )} \sqrt {x} - \frac {2 \, {\left (A a^{2} + 3 \, {\left (B a^{2} + 2 \, A a b\right )} x\right )}}{3 \, x^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 94, normalized size = 0.86 \[ x^{5/2}\,\left (\frac {2\,A\,c^2}{5}+\frac {4\,B\,b\,c}{5}\right )+\sqrt {x}\,\left (2\,A\,b^2+4\,B\,a\,b+4\,A\,a\,c\right )+x^{3/2}\,\left (\frac {2\,B\,b^2}{3}+\frac {4\,A\,c\,b}{3}+\frac {4\,B\,a\,c}{3}\right )-\frac {\frac {2\,A\,a^2}{3}+x\,\left (2\,B\,a^2+4\,A\,b\,a\right )}{x^{3/2}}+\frac {2\,B\,c^2\,x^{7/2}}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.89, size = 153, normalized size = 1.40 \[ - \frac {2 A a^{2}}{3 x^{\frac {3}{2}}} - \frac {4 A a b}{\sqrt {x}} + 4 A a c \sqrt {x} + 2 A b^{2} \sqrt {x} + \frac {4 A b c x^{\frac {3}{2}}}{3} + \frac {2 A c^{2} x^{\frac {5}{2}}}{5} - \frac {2 B a^{2}}{\sqrt {x}} + 4 B a b \sqrt {x} + \frac {4 B a c x^{\frac {3}{2}}}{3} + \frac {2 B b^{2} x^{\frac {3}{2}}}{3} + \frac {4 B b c x^{\frac {5}{2}}}{5} + \frac {2 B c^{2} x^{\frac {7}{2}}}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________